package club.justwill.single.Service;

import club.justwill.single.bean.AddInvitation;
import club.justwill.single.bean.SearchInvitations;
import club.justwill.single.model.JsonResponse;
import club.justwill.single.model.SecurityToken;
import club.justwill.single.model.SessionState;
import club.justwill.single.persistence.jpo.Invitation;

import java.util.List;

/**
 * Created by luoyu on 15-12-27.
 */
public interface InvitationService {
    public void addInvitation(SecurityToken token, AddInvitation addInvitation, JsonResponse obj, SessionState sessionState);


    public List<Invitation>  searchInvitations(SearchInvitations searchInvitations, JsonResponse obj);
}
